<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
 <%@page import="com.fit.user.entity.*"%>
<%@page import="java.text.SimpleDateFormat"%>
<%@page import="com.fit.user.entity.CaseMsgEntity"%>
 <%@ page import="com.fit.user.dao.*"  %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
 
 <%
  String contextPath=request.getContextPath();
  //根据警号得到该警员的权限
	  String policeID = (String)session.getAttribute("policeID");
  PoliceMsgDAO policeMsgDAO = new PoliceMsgDAO();
  String purview = policeMsgDAO.getPoliceMsg(policeID).getPurview();
  String policeName = policeMsgDAO.getPoliceMsg(policeID).getPoliceName();
  
   %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  <head>
    
    <title>邹平县公安局</title>
       <%
				if(purview != null && purview.equals("0")){
				 %>
    <a href="<%=contextPath %>/police/online_user.jsp">查看当前在线用户</a>
    <%
    }
     %>

	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<script type="text/javascript" src="<%=contextPath%>/js/manager.js"></script>
	<link href="<%=contextPath%>/img/skin/skin.css" rel="stylesheet" type="text/css" />
	<style type="text/css">

body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #EEF2FB;
}


</style>
<script type="text/javascript">
function gofun(_link) {
    window.top.frames('mainFrame').location.href=_link;
 }
 
 function gofun_beian()
  {
  alert("对不起,您没有备案登记！");
  }
  
  
function gofun_check()
  {
  alert("对不起,您没有操作权限!");
  }
  
</script>

  </head>
  <%
String caseID = (String)session.getAttribute("caseID");
 %>
 <%
     CaseMsgDAO caseMsgDAO = new CaseMsgDAO();
     List<CaseMsgEntity> list = caseMsgDAO.getRemark(policeID);
     if(list.size()!=0)
 {
  %>

  <script type="text/javascript">
  window.open('<%=contextPath%>/police/remark.jsp?policeID=<%=policeID%>','','width=600,height=400');
  
</script>

 
<%
  }
%>
  <body class="mybody" topMargin="0" leftmargin="0" rightmargin="0" bottommargin="0" >

<table width="100%" border="0" cellpadding="0" cellspacing="0" >
  <tr>
    <td width="17" valign="top" background="<%=contextPath%>/img/skin/mail_leftbg.gif"><img src="<%=contextPath%>/img/skin/left-top-right.gif" width="17" height="29" /></td>
    <td valign="top" background="<%=contextPath%>/img/skin/content-bg.gif"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
        <td height="31"><div class="titlebt">欢迎界面</div></td>
      </tr>
    </table></td>
    <td width="16" valign="top" background="<%=contextPath%>/img/skin/mail_rightbg.gif"><img src="<%=contextPath%>/img/skin/nav-right-bg.gif" width="16" height="29" /></td>
  </tr>
  <tr>
    <td valign="middle" background="<%=contextPath%>/img/skin/mail_leftbg.gif">&nbsp;</td>
    <td valign="top" bgcolor="#F7F8F9"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td colspan="2" valign="top">&nbsp;</td>
        <td>&nbsp;</td>
        <td valign="top">&nbsp;</td>
      </tr>
      <tr>
        <td colspan="2" valign="top" width="100%" ><span class="left_bt">欢迎您使用 邹平县公安局执法监督暨办案场所管理系统</span><br>
              <br>
</td>
        <td width="7%">&nbsp;</td>
        <td width="40%" valign="top">&nbsp;</td>
      </tr>
      
     <!-------------=========================================-------------->	
				
<tr>
<td  colspan="2"  width="100%"  align="left">

  <span class="left_txt">
<table  height="200" border="0" align="left"  width="800">

  <tr>

    <td width="320" height="38">
	  <div align="center">  
	  <a onclick="gofun('/police/police/beiandengji_c.jsp')" onMouseOver="overChanger(humanimg,'<%=contextPath%>/img/zhuomian/file1.gif')" onmouseout="outChanager(humanimg,'<%=contextPath%>/img/zhuomian/file.gif')">    
	    <div align="right"><img id="humanimg" src="<%=contextPath%>/img/zhuomian/file.gif" width="55" height="55" name="image1" border="0"></a></div>
	  </div>
	    <div align="right">备案登记 </div>
	  </td>
	                 <%
if(caseID!=null)
{

 %>		
    <td width="318">
	 <a  onclick="gofun('/police/police/bodyMsg.jsp')"onMouseOver="overChanger(salaryStandarimg,'<%=contextPath%>/img/zhuomian/engage1.gif')" onmouseout="outChanager(salaryStandarimg,'<%=contextPath%>/img/zhuomian/engage.gif')">  
      <div align="right"><img id="salaryStandarimg" src="<%=contextPath%>/img/zhuomian/engage.gif" width="55" height="55" name="image2" alt=""border="0"></div></a>
          <div align="right">人身检查 </div>
      </td>
    <td width="320">
	   <a onclick="gofun('/police/police/goods_and_material_evidencesmsg.jsp')" onMouseOver="overChanger(salaryGrant,'<%=contextPath%>/img/zhuomian/salary1.gif')" onmouseout="outChanager(salaryGrant,'<%=contextPath%>/img/zhuomian/salary.gif')">  
      <div align="right"><img id="salaryGrant" src="<%=contextPath%>/img/zhuomian/salary.gif" width="55" height="55" name="image3" alt=""border="0"></a></div>
            <div align="right">物证保管 </div>
      </td>
    <td width="320">
	 <a onclick="gofun('/police/msg_get.jsp')" onMouseOver="overChanger(changer,'<%=contextPath%>/img/zhuomian/salary_standard1.gif')" onmouseout="outChanager(changer,'<%=contextPath%>/img/zhuomian/salary_standard.gif')"> 
      <div align="right"><img id="changer" src="<%=contextPath%>/img/zhuomian/salary_standard.gif" width="55" height="55" name="image4" alt=""border="0"></div></a>
            <div align="right">信息采集 </div>
      </td>
</tr>
<tr>
  <td width="320">
	     <a onclick="gofun('/police/police/inquiry_and_inquest.jsp')" onMouseOver="overChanger(training,'<%=contextPath%>/img/zhuomian/training1.gif')" onmouseout="outChanager(training,'<%=contextPath%>/img/zhuomian/training.gif')"> 
	    <div align="right"><img id="training" src="<%=contextPath%>/img/zhuomian/training.gif" width="55" height="55" name="image5" alt=""border="0"></div></a>
	          <div align="right">询问讯问 </div>
	    </td>
    <td width="220" height="55"><div align="center">
         <a onclick="gofun('/police/police/manager_houwen.jsp')"onMouseOver="overChanger(bonus,'<%=contextPath%>/img/zhuomian/bonus1.gif')" onmouseout="outChanager(bonus,'<%=contextPath%>/img/zhuomian/bonus.gif')"> 
	  <div align="right"><img id="bonus" src="<%=contextPath%>/img/zhuomian/bonus.gif" width="55" height="55" name="image6" alt="" border="0"></div></a>
	      <div align="right">侯问约束 </div>
	  </td>
    <td width="218">
    <a  onclick="gofun('/police/police/select_case.jsp')" onMouseOver="overChanger(engage,'<%=contextPath%>/img/zhuomian/major_change1.gif')" onmouseout="outChanager(engage,'<%=contextPath%>/img/zhuomian/major_change.gif')"> 
      <div align="right"><img id="engage" src="<%=contextPath%>/img/zhuomian/major_change.gif" width="55" height="55" name="image7" alt="" border="0"></div></a>
          <div align="right">资料查阅 </div>
      </td>
      <%
}else
{ %>

 <td width="318">
	 <a  onclick="gofun_beian('')"onMouseOver="overChanger(salaryStandarimg,'<%=contextPath%>/img/zhuomian/engage1.gif')" onmouseout="outChanager(salaryStandarimg,'<%=contextPath%>/img/zhuomian/engage.gif')">  
      <div align="right"><img id="salaryStandarimg" src="<%=contextPath%>/img/zhuomian/engage.gif" width="55" height="55" name="image2" alt=""border="0"></div></a>
          <div align="right">人身检查 </div>
      </td>
    <td width="320">
	   <a onclick="gofun_beian('')" onMouseOver="overChanger(salaryGrant,'<%=contextPath%>/img/zhuomian/salary1.gif')" onmouseout="outChanager(salaryGrant,'<%=contextPath%>/img/zhuomian/salary.gif')">  
      <div align="right"><img id="salaryGrant" src="<%=contextPath%>/img/zhuomian/salary.gif" width="55" height="55" name="image3" alt=""border="0"></a></div>
            <div align="right">物证采集 </div>
      </td>
    <td width="320">
	 <a onclick="gofun_beian('')" onMouseOver="overChanger(changer,'<%=contextPath%>/img/zhuomian/salary_standard1.gif')" onmouseout="outChanager(changer,'<%=contextPath%>/img/zhuomian/salary_standard.gif')"> 
      <div align="right"><img id="changer" src="<%=contextPath%>/img/zhuomian/salary_standard.gif" width="55" height="55" name="image4" alt=""border="0"></div></a>
            <div align="right">信息采集 </div>
      </td>
</tr>
<tr>
  <td width="320">
	     <a onclick="gofun_beian('')" onMouseOver="overChanger(training,'<%=contextPath%>/img/zhuomian/training1.gif')" onmouseout="outChanager(training,'<%=contextPath%>/img/zhuomian/training.gif')"> 
	    <div align="right"><img id="training" src="<%=contextPath%>/img/zhuomian/training.gif" width="55" height="55" name="image5" alt=""border="0"></div></a>
	          <div align="right">询问讯问 </div>
	    </td>
    <td width="220" height="55"><div align="center">
         <a onclick="gofun_beian('')"onMouseOver="overChanger(bonus,'<%=contextPath%>/img/zhuomian/bonus1.gif')" onmouseout="outChanager(bonus,'<%=contextPath%>/img/zhuomian/bonus.gif')"> 
	  <div align="right"><img id="bonus" src="<%=contextPath%>/img/zhuomian/bonus.gif" width="55" height="55" name="image6" alt="" border="0"></div></a>
	      <div align="right">侯问约束 </div>
	  </td>
    <td width="218">
    <a  onclick="gofun('/police/police/select_case.jsp')" onMouseOver="overChanger(engage,'<%=contextPath%>/img/zhuomian/major_change1.gif')" onmouseout="outChanager(engage,'<%=contextPath%>/img/zhuomian/major_change.gif')"> 
      <div align="right"><img id="engage" src="<%=contextPath%>/img/zhuomian/major_change.gif" width="55" height="55" name="image7" alt="" border="0"></div></a>
          <div align="right">资料查阅 </div>
      </td>

      <%} %>
      
           <%
				if(purview != null && purview.equals("0")){
				 %>
    <td width="220"><div align="center">
     <a  onclick="gofun('/police/police/manager.jsp')" onMouseOver="overChanger(exports,'<%=contextPath%>/img/zhuomian/export1.gif')" onmouseout="outChanager(exports,'<%=contextPath%>/img/zhuomian/export.gif')"> 
	   <div align="right"><img id="exports" src="<%=contextPath%>/img/zhuomian/export.gif" width="55" height="55" name="image8" alt="" border="0"></div></a>
	    <div align="right">县局管理 </div>
	</td>
	  <%} else{%>
	   <td width="220"><div align="center">
     <a  onclick="gofun_check('')" onMouseOver="overChanger(exports,'<%=contextPath%>/img/zhuomian/export1.gif')" onmouseout="outChanager(exports,'<%=contextPath%>/img/zhuomian/export.gif')"> 
	   <div align="right"><img id="exports" src="<%=contextPath%>/img/zhuomian/export.gif" width="55" height="55" name="image8" alt="" border="0"></div></a>
	    <div align="right">县局管理 </div>
	</td>
    <%} %>
    <td><div align="center">
      <div align="center">
  </div></td>
  </tr>

</table>


</span>
</td></tr>	


<!-------------=========================================-------------->	
      <tr>
        <td colspan="2">&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td colspan="2" valign="top"><!--JavaScript部分-->
              <SCRIPT language=javascript>
function secBoard(n)
{
for(i=0;i<secTable.cells.length;i++)
secTable.cells[i].className="sec1";
secTable.cells[n].className="sec2";
for(i=0;i<mainTable.tBodies.length;i++)
mainTable.tBodies[i].style.display="none";
mainTable.tBodies[n].style.display="block";
}
          </SCRIPT>
              <!--HTML部分--></td>
        <td>&nbsp;</td>
        <td valign="top">&nbsp;</td>
      </tr>
      <tr>
        <td height="40" colspan="4"><table width="100%" height="1" border="0" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC">
          <tr>
            <td></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td width="2%">&nbsp;</td>
        <td width="51%" class="left_txt">
        <img src="<%=contextPath%>/img/skin/icon-mail2.gif" width="16" height="11"> 
        客户服务邮箱：4565866@my818.com<br>
             <img src="<%=contextPath%>/img/skin/icon-phone.gif" width="17" height="14"> 
             官方网站：http://www.my818.com
              </td>
        <td>&nbsp;</td>
     
      </tr>
    </table></td>
    <td background="<%=contextPath%>/img/skin/mail_rightbg.gif">&nbsp;</td>
  </tr>
  <tr>
    <td valign="bottom" background="<%=contextPath%>/img/skin/mail_leftbg.gif"><img src="<%=contextPath%>/img/skin/buttom_left2.gif" width="17" height="17" /></td>
    <td background="<%=contextPath%>/img/skin/buttom_bgs.gif"><img src="<%=contextPath%>/img/skin/buttom_bgs.gif" width="17" height="17"></td>
    <td valign="bottom" background="<%=contextPath%>/img/skin/mail_rightbg.gif"><img src="<%=contextPath%>/img/skin/buttom_right2.gif" width="16" height="17" /></td>
  </tr>
</table>
  </body>
